#include "gameobject.h"
#include <QVector2D>
#include <QVector3D>
#include <QtCore/qmath.h>
#include <math.h>
#include <float.h> 


////////////////////////////////////////////////////////
//
////////////////////////////////////////////////////////
Target::Target(QString name)
	: GObject(name) 
{
	m_image.load(":/images/target.png");
}

Target::~Target()
{
}

QRectF Target::boundingRect() const
{
	return QRectF(0,0,m_image.width(),m_image.height());
}

void Target::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
	Q_UNUSED(option)
    Q_UNUSED(widget)
	
	painter->drawPixmap(0, 0, m_image);
}
